package com.mycompany.strutsmodule1;


import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class MyServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;
	
	public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
	{
		res.getWriter().write("DefaultServlet<br>");
		res.getWriter().write(req.getPathInfo()+"<br>");
		res.getWriter().write(req.getRequestURI()+"<br>");
		res.getWriter().write(req.getServletPath()+"<br>");
	}
}
